added class framework
formatted printing
changes