Refactor Process Class