Moving router to file.