Added monlog for logging in components. Fix #10.