Refactored some code, removed accelerometer stuff

Distance, speed, and elevation are still lost when pausing and resuming
the service, I'll look into that tomorrow.