Remove unnecessary functions

Delete IEdit and Edit classes. Position class is the same as Point.
Refactor elements and Arc class.