connecting gui to protocolfinder and protocol