Split app.js into configuration (app-init.js) and bootstrap (app.js).
Integrated log4j.