move app to cshtml, to fetch and render route configs