Move route configuration to layout module
Refactor LayoutConfig.js
Add todo