added basic control frame parsing
merged writer and reader to stream
removed old stream files