Refactor ciphers and add more types, including support for chaining.  Also added support for sending output by email.