Develop samples class

Added functions to Process class