Created interfaces in api

Graph
GraphNode
Obstruction