Splitted the simulator in several modules.
Split in several modules.