Add simulation.h, move definitions to there.