Created DB contract class and Db helper class