const routes = modules.filter(m => m.initRoutes !== undefined)
                        .map(m => ({ moduleKey: m.key, init: m.initRoutes }));