Added functioning timed background location service. Beginning to refactor