global config , proj structure, threading