added a texture-per-tile
added proper tile types
wip for animations
more work on animation and layout
some code cleanup, refactoring and comments