updated readme and app.js with new api structure that is a bit more orderly