* exit code added to commands.
* phpdoc fixes.