Add functions for db_select, db_insert, db_update, db_delete for the simple cases to avoid too much SQL in models.