Added encryption class.
Added message handler.
Implimented message handler.