Implementation/Cleanup of the Entity/Component system.

TODO: Replace map with some form of B-Tree to optimize it for the typical sequential access that will
happen during various updates