Removed uneccessary .toString() calls.
small refractorings
Removed unused class CompileFirmCommand.