removed gui code since we are not having a gui.
refactored Vertex class into Point class