renamed Db to DbManager, made it implement DataManager
added DbManager to commit