Third commit, node class has new data structures of in/outResources and in/outNodes. Connection line has resources defined with quantity