Basic sync function is done in an AsyncTask.
Will add sync() to each activity later today
commit
Merge branch 'master' of https://github.com/CMPUT301F13T08/CMPUT301F13T08.git