Move the whole thing to use the new DBHelper, the finalDB flag is the
switcher.

Signed-off-by: jzz128 <jimmyzhangca@gmail.com>