OBLLog class added

This class can be used by all to turn debugging in or off