diff --git a/src/boot.ts b/src/boot.ts
index 1eb4b57c8e8102c1740b638451d48367c1a9af5e..f5c103de4c549815a76b79b3f2699ab6d44d3636 100755
--- a/src/boot.ts
+++ b/src/boot.ts
@@ -22,16 +22,15 @@
 // external libraries
 import express = require('express');
 import path = require('path');
-
 const osprey = require('osprey');
 const ramlParser = require('raml-parser');
 
-// create a new express app
-const app = module.exports = express();
-
 // load router
 import { router } from './api/router-v1';
 
+// create a new express app
+const app = module.exports = express();
+
 // parse the RAML spec and load osprey middleware
 ramlParser.loadFile('specs/blendb-api-v1.raml')
     .then((raml: any) => {