use and ORM (sequelize) on top of sqlite. Some refactor