Added database helper class