Refactored the collection creation tool and added support to update the collections 

https://lib-jira.ucsd.edu:8443/browse/DM-60