First version for CapacityGraph implemented. Now we need to make application work