classified

* added bitstream methods
* and some other stuff