begin refactoring out of tile manager