Rename Subject to SubjectProcess and refactored code