Adding prototype and require dependencies. Adding bitstream API