Node : Encapsulating routes in nanmespace with middleware