Add the private object creation functions to header
Major refactoring to graphs to use LavObject
Fixed most compiler errors in the plumming