Add app.js and expose engine() as a function. #4