Graph data model

Working GraphDataModel class with persistent and datamodel classes. Should be ready for UI Graphing.