Big Bang Nucleosynthesis modernized code in C++