Refactoring - now using sequelize instead of jugglingdb