Note that router can be a promise
Merge pull request #7 from rafkhan/router-promise

Note that router can be a promise