Added db and class to interact with it