Refactor REST route configuration to output module
Generating REST routes, depending on the config is now done in the framework. This should be refactored out to an output module. The responsibility of creating and providing (an empty) Express object must remain in the framework.