Added encryption

And Events class
Need to integrate the Events class fully