Set up location class and wrote a bit of code in mapping activity