May10 Commit2

Added the clustering to cytoscape encoder, and reworked other stuff.

[ticket: X]