Added monlog for logging in components. Fix #10.

Fixed #10