added construction of dictionary
Saving data
better plotting of weighted usages