routing app to be more modular