Refactoring sqlite
Refactoring sqlite