Handled more TODOs: citations, Community now containing a set of nodes.

Also removed the previous implementation of LPA.