Factory ship