Cleaned up console.log statements and added some comments for Cloudant storage file