Refactored ProtocolViewerContoller to spring controller