C++ quantitative finance tool construction