Main config refactoring, performance logger not ThreadLocal