Core code for the app TrackIt (https://play.google.com/store/apps/details?id=co.trackitapp.android)