renamed Db to DbManager, made it implement DataManager