Replaced read command code

Now it's possible to overload methods in Command class. :-)