move commands to module; include sample app.js in docs