CStatusMessage a class to handle debug, warning, error and success messages