added latitude/longitude view to mainscreen + some code refactoring + simple distance callibration