Some functional helper functions added.
Basic universal graph class added.