changes to get server stop working

Turns out that cherrypy has a stop_server function that takes the PID file.

Had to run in daemonize mode to get the server to start and create a PID file.