Restructured most code from yesterday. Primitive tilemap setup.