read config file as early as possible.

not sure 'import config' is a very good pattern anyways :-)