Added shipFactory