Created Db class