Implementing vertex tool.
More work on VertexTool.