Basic structure for the simulator