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