Added more documentation and worked a bit more with the CQS library