refactoring some code
removing the TilePosition component, adding collision handling and an outer wall, as well as fixing compiling under Qt5