Code tidy/ separation of concerns

Separation of code from the UI
-location file read moved from UI to LocationGadmFile