Added configuration, logging, and exception retries