reorganized classes

refactored classes so it makes more sense. Now there is a TextFrame,
BinaryFrame PingFrame and so forth.
BUT maybe i shoud drop the text/binary distinction altogether.