Implemented the basis of an entity-component system.

This will be the foundation of the game.