Refactor to move request, response, and notification classes to separate sub-packages.