Replaced double quotes to single.
Moved phing version to constance.
Refactored. Created class with wrapper code.