Refactored out loading traces from config to TraceRepository