Update and rename app.js to engine.js