Better implementation of Async tasks. Misc bug fixes. More fixes coming.
Miscellaneous bug fixes, null checks etc
Commit required due to Android Studio bug (Probably).
Merge branch 'backend_code_strengthening'