remove comments from app.js.

and small fixes
change mongo -> mongoose usage