Removed multiple dictionary declaration (oc,cp,ct,db,st).
Declared only one dictionary (nodes).Changed the logic too,
earlier it was searching for appropriate group of which vm belongs to
and adding to that dictionary.Now it is getting vm type information from metadata
of vm and it is checking the vm type dictionary exists or not in nodes dictionary
if it is already there then it update the existing dictionary with new element,
if not then it updates the nodes dictionary and add a new dictionary with vm type name
and update the element to this dictionary.