Added more documentation to badger.h