updating middleware in app.js to parse POST request bodies in REST API.  General commenting.