Added alot of code to tiles.lua.
Mostly used for drawing and tileSheets