Added formatting to main, working on near location feature