Moved config constants to global context