Base config, generalized, added C++11 support