Added functionality to retrieve/modify workouts from the database.