refactoring:  added Simulator, moved simulation code from simrecomb.cpp