nearly complete conversion to sequelize. finishing up submit