New graph convenience functions
Fixed bug with binding group inference
Replaced old graph functions
Basic lib code