Made Vertex constructor public