Allow user to specify location of pids and logs

Readme stated user could specify location of pids, but the code didn't permit that.  Also adjusted the code so the log location could be specified as well.