Added the possibility to save a new mapfile or use the old one which is imported or new created. Added code to use the editing functions. Remove some not needed import statements