Moved MonteCarlo code to new class