Add more boilerplate code for routers, main config and app init