renamed the gen-class-dot.py to be more pythonic and added a main method