Back to Working with Local Server

Applied some small fixes for things like NullPointerExceptions to get
this running with the local server again.
Encapsulated Location

Encapsulated Location, hoping that by encapsulating the values we can
tell when a location has been updated. And cut down the number of
movement messages sent to the server (currently just sending location as
fast as possible).