Added skeleton code for register-new-key example.