Added some location details to model and some use of them in the controller.

Pulled and started generalizing kitchen sink files dealing with
accelerometer, geolocation, and platform