Moved tile painting to Tile class  Also removed all warnings