Added db class and create/drop methods.