creates RPS server and client