A lightweight framework for Gaussian processes and Bayesian optimization of black-box functions (C++-11)