Cleaning up the main lib.
Tilemapping framework in place.

Althought not originally going to be tile-based, it looks
like this is our best option for creating maps.