sepearte proto-handler into different files
changing 'player' -> 'agent'