removed getInstance static method from command classes
changed some new to the command factory