removed unused code
Added API support for  assign collection inside the folder
Merge pull request #239 from sheebans/master

Removed unused code and API support  for add collections inside the folder.