added basic controller logic to app.js; GET requests now working from localhost