Added custom logging handlers as an interface that can be set externally
fixed error handling in handlers
added scribe handler using scribe client