Added bitlib, and documentation