Bunch 'o' changes.

Added an entity/component system.
Fixed up textures and added sprites as a component.