Merge pull request #6 from runemopar/master

jokull made this kinda function
made tile classes
fixed something
various changes and additions

i commented my changes
Merge pull request #5 from jordanlm/master

getting all your crap