Avoid hardcoded paths

Add commandline options for {pid,log,db}File locations.