small code aesthetic improvements

-added comments and cleaned up the code
-removed name and number from cursor class because they were unnecessary
-removed vector2d because I don't think it will ever be used