working on custom classes
vertices now hold a lot of information
reworked the click handlers