Flatten folder structure to deploy to cloudant server