Added the middleware code as well
Port 3000
Additional comment