Created EntityFactory
use EntityFactory to create the spaceship