Refactoring code.

- Handling passphrases via new Passphrase class.
Adding to_bd and to_xcr methods to NilClass.
No newline at end of file.