New CorLogger and some debug messages added

- New command /cor loglevel to change the level of the logger