db open helper refactor