Added pid file argument and allowed "..." formatting on the config file argument as well as pid
Cleaned up imports