implemented basic map generation and GUI