Add simulator.h with basic states