Extract subclasses from EndpointController.

Retarget existing unit test against WebEndpointController subclass