refactor pairing-server to keep one device and one interface client