begin sqlite4java refactor