Added slf4j so we can log exceptions and allow users of this library
choose there preferredd logger.
Added logging to exceptions.