added TileGrid class. Changed manager. Modified Tile and Piece slighthly