Added setRouter() to Application class