Simplistic message cypher (AES).

and various refactorings