Begin to abstract out the database from the model layer.