Fixing up Sequelize, configs and bin tools