Move command factory method to abstract adapter