Comments and set private/public methods to Vertex class