create simulator can read input file from deck,
make it much more general.