Changed how Components are added to entities so that the engine can manage the memory.