creates router and dummy main page