Start to refactor DBHelper