Reverse config precedence

passed in > class config > global config