Added PID file to gitignore
Use HTTPParty instead of CURL