Added require.app.
Fixed .app() waiting for incorrect module name & did not return require object.