Change namespace to CommandFactory. And moved Factory method on Command to a separate class Adjust reference