Added router to handle requests