Updated Command class

Now Command class supports user input through a PrintWriter object
returned by the 'getInput()' method