Implement CGA-Stream
Expand the set attributes function with bit dance
Fix output