Added global config object

* Set peer default timeout to 10ms in tests for faster tests