Defined Encoder.
Added the private data definitions.
[WIP] Added bitwriter.js (still in C.)