Data access objects, handles persistence of the model to the database.