Refactoring and code/comment cleanup in sketchvision