Made router return a router instance