demo version
put location service routines in a Service