Merged config to brain
Moved all references to global