turned spawner into an actor factory