Added new Tile class.
Moved properties outside of Main.