Creating abstract Monte Carlo class in order to simplify benchmarks