Refactored ProcessCodeFactory and related code such that expression codes no longer need to be hard coded into the factory for it to be recognized

GCP-8995
Post commit code review : Tiffany Go