CWRC-Writer as a library