Extracted IVertex interface from Vertex to allow mock testing