Implemented special methods

Implemented __str__
Implemented specialised prepareCommand()