Modified code to utilize configuration and logging through service stack infrastructure.