Updated index.js and app.js to consolidate functionality - still figuring out how best to emit new objects as they are received from IG