Implemented a simple monitor object.
Dispatch Queues now use the new monitor object
updated template for cxconf.h