Beginning to integrate sequelize into libreo, and reorganizing modules