This is in control of all the primary bootsrapping for the app.
Middleware stratigy is selected from APPLICATION_MODE or can be overridden with a constructor parameter.