Did some cleaning up. Implemented tiles again.