Created MBLog and other classes are using it.

This allows for logging with more expected behaviour.