Encapsulating the router to a different file (Sepration of Concerns