Add middlewares.
Add bootstrap.