Created a mess with config

Should it be global? Or should it be passed into every parameters? And
does this mean overloads for all the static methods? Yuck.