fix for server and agent to have different pid and log files

* Agent and Server can now run on same machine using init
* they have their own log files