added a Commitable class that all the database models will extend