'use strict';

var _lib = require('./lib');

var _lib2 = _interopRequireDefault(_lib);

var _HelloController = require('./HelloController');

var _HelloController2 = _interopRequireDefault(_HelloController);

var _HomeController = require('./HomeController');

var _HomeController2 = _interopRequireDefault(_HomeController);

var _nunjucks = require('nunjucks');

var _nunjucks2 = _interopRequireDefault(_nunjucks);

var _options = require('./options');

var _options2 = _interopRequireDefault(_options);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

_nunjucks2.default.configure(_options2.default.nunjucks, {
    autoescape: false
});

var application = new _lib2.default({
    '/hello/{name*}': _HelloController2.default,
    '/': _HomeController2.default
}, _options2.default);

application.start();