Refactored functionality to smaller units.
Minor refactoring.
Sending all data to server.
Fixed null ptr error.
Only accepting activities over 50% confidence.