extracted edge factory logic into create_edge method
extracted VertexFactory out of vertex.rb into vertex_factory.rb
extracted EdgeFactory out of edge.rb and into edge_factory.rb, updated references in spec and test