Created pidfile module
Renamed pidfile init function