Fixed config bug.
Added config value for setting pid file path.