Refactoring ProcessComponent and Request plugin