Updated code to match the PSR coding standards.
Fixed a bug with the command translator having problems with Command directories.