introduced router to handle new layout view