implemented sign/verification, added class for measurement