map manager refactoring
further implementation of the game