Implementing qcr
Adding main, as it is currently functioning as the test script

(even though `qcr` is intended to be used as a library)
Reporting errors on a channel