- Separated PID file handling to a separate library for future re-use
- Started to move code from the current function to the new one.