How is an object stored in memory