Archived code for Gtrack app