Restructure the workflow.

- Controller should handle the workflow.
- Created MethodParameterBuilder.
- Validate JsonParam and other parameters in Controller.