Working on the simulator. Added circuit export but not finished