Refactor Process class
Input arguments from shell script