Patched in class diagram to designdoc

also flipped class diagram