Updated routes settings. Routes declaration moved to configuration statement.