Added a functionality that makes the Brog write it's PID in a file when in prod mode
Stuff the writePID stuff inside of the brog itself.