text: // Pull in required dependencies
  var express = require('express');
  var bodyParser = require('body-parser');
  
  var  methodOverride = require("method-override");
  var app = express();
  
  var PORT = process.env.PORT || 3000;
  
  
  // Requiring our models for syncing
  var db = require("./models"); 	
  
  // Sets up the Express app to handle data parsing
  app.use(bodyParser.json());
  app.use(bodyParser.urlencoded({ extended: true }));
  app.use(bodyParser.text());
  app.use(bodyParser.json({ type: "application/vnd.api+json" }));
  
  // Static directory
  app.use(express.static("public"));
  
  // Set Handlebars as the view engine
  var exphbs = require('express-handlebars');
  
  app.engine('handlebars', exphbs({ defaultLayout: 'main' }));
  app.set('view engine', 'handlebars');
  
  app.use(methodOverride("_method"));
  // Import routes and give the server access to them
  require('./controllers/burgers_controller.js')(app);
  
  
  db.sequelize.sync().then(function() {
    app.listen(PORT, function() {
      console.log("App listening on PORT " + PORT);
    });
  });