Several improvments.

Hi @tangervu,

I made us of your work here: https://github.com/banago/PHPloy and I made several improvements and added the `exists()` and `pwd()`methods.

Thanks for your good work.