Updated with beginnings of location code.
Unfortunately, it is all commented out as it causes a force close...