Start to write database helper class