Move pid file location and port to config