Some code cleans and fixes.

Added system resource which provides infomation on the disk space used by the collections and the number of each individual collections