DB and Fitbit Specific Code to Separate Class