With class added that wraps logging and error handling