Added Vertex class.