Added some nice configuration values. Made all the config variables volatile in c++