Main class to run regimes example.