add inital app.js and readme for apis