Updated promises demos and added package.json and .gitignore file