cln some more docstrings and make cprint more readable