Refactoring most of chibi-doc tool into the (chibi doc) module.