Reorganize block cipher mode code.

- Addresses #61.