export the Router as a function and put all the properties on it
Merge pull request #7 from Raynos/master

export the Router as a function and put all the properties on it