TiledMap: Move privately used structs in class private section and add documentation