add class PidFile for single application instance