Added create, remove and get methods on db