Changed simulator to export a constructor instead of custom object