Fixed some coding standard (PSR-0,1,2) and added some comments.
Added more color to the showHelp() method
Added method for enabling and disabeling debug mode