refactored Buffer and Port, removed cloning, need to update test_graph