bootstrap should not do the construction of app. do it in app.php.