Added cryptography class and changed account class to adequate some changes.