Allow choosing an SSH private key on the command-line
Initial refactor of credential saving and encrypting.
Wrap encode functon with cred encrypt function, with tests.
Replace main func with new save implementation.