Created Fibula.Tile object and refactored code to work with it