refactored exception handling on php process
refactored exception handling on php process
removed debugging stuff
corrected comments
Merge pull request #5 from zelgerj/master

refactored exception handling on php process