Added the initial pid file management logic.
Initial wotk on adding file based assertions to assert(3).