add pid file and detect if server is already running or is shutdown
add status flag
Use nohup to make sure the process doesn't die on logout...also redirect to /dev/null so process looks like it forks