initial code for GUI-based map creation