split serverselector into dedicated file