added db helper class