old_contents: var express = require('express');
  var app = express();
  var server = require('http').createServer(app);  
  var io = require('socket.io').listen(server);
  var models = require("./models");
  
  var PORT = process.env.PORT || 3000;
  
  
  models.sequelize.sync({force: true}).then(function () {
    require('./config/routes.js')(app, express, io);
  
    server.listen(PORT, function (){
      console.log('listening on port', PORT);
    });
  
  // SAMPLE DB INSERTIONS
  models.teachers.create({
                        firstname: 'Jake',
                        lastname: 'Pace',
                        username: 'jakepace',
                        password: 'pass',
                      });
  
  models.teachers.create({
                        firstname: 'Ian',
                        lastname: 'DUBWABLANNNN',
                        username: 'ianD',
                        password: 'pass123',
                      });
  
  
  models.students.create({
                        firstname: 'Shane',
                        lastname: 'McGraw',
                        username: 'ShaneM',
                        password: 'passworddd',
                      });
  
  models.students.create({
                        firstname: 'Jacob',
                        lastname: 'Lee',
                        username: 'JLee',
                        password: '1234',
                      });
  
  
  models.students.create({
                        firstname: 'Orlando',
                        lastname: 'Calrisian',
                        username: 'OlandoC',
                        password: 'pass123',
                      });
  
  models.classes.create({
                        name: 'CS101',
                        teacher_id: 1,
                      });
  
  
  models.classes.create({
                        name: 'CS102',
                        teacher_id: 2,
                      });
  
  models.classes.create({
                        name: 'History',
                      });
  
  
  // Needs correct fiends added
  models.students_classes.create({
                        class_id: 1,
                        student_id: 1
                      });
  
  
  models.students_classes.create({
                        class_id: 2,
                        student_id: 2
                      });
  
  models.students_classes.create({
                        class_id: 2,
                        student_id: 3
                      });
  
  
  
  
  
  
  
  });
new_contents: var express = require('express');
  var app = express();
  var server = require('http').createServer(app);  
  var io = require('socket.io').listen(server);
  var models = require("./models");
  
  var PORT = process.env.PORT || 3000;
  
  
  models.sequelize.sync({force: true}).then(function () {
    require('./config/routes.js')(app, express, io);
  
    server.listen(PORT, function (){
      console.log('listening on port', PORT);
    });
  
    // SAMPLE DB INSERTIONS
    models.teachers.create({
      firstname: 'Jake',
      lastname: 'Pace',
      username: 'jakepace',
      password: 'pass',
    });
  
    models.teachers.create({
      firstname: 'Ian',
      lastname: 'DUBWABLANNNN',
      username: 'ianD',
      password: 'pass123',
    });
  
  
    models.students.create({
      firstname: 'Shane',
      lastname: 'McGraw',
      username: 'ShaneM',
      password: 'passworddd',
    });
  
    models.students.create({
      firstname: 'Jacob',
      lastname: 'Lee',
      username: 'JLee',
      password: '1234',
    });
  
  
    models.students.create({
      firstname: 'Orlando',
      lastname: 'Calrisian',
      username: 'OlandoC',
      password: 'pass123',
    });
  
    models.classes.create({
      name: 'CS101',
      teacher_id: 1,
    });
  
  
    models.classes.create({
      name: 'CS102',
      teacher_id: 2,
    });
  
    models.classes.create({
      name: 'History',
    });
  
  
    // Needs correct fiends added
    models.students_classes.create({
      class_id: 1,
      student_id: 1
    });
  
    models.students_classes.create({
      class_id: 2,
      student_id: 2
    });
  
    models.students_classes.create({
      class_id: 2,
      student_id: 3
    });
  
  });
subject: Fix whitespace & indentation in app.js