Moved simulation to separate package to avoid C recompilation time cost.