Implemented background location data sending. Fixes #10