[change] Set port to serve the app as an env variable.
[change] Implement middlewares to use in app.