Middleware based routing for express 4