Updated Cookie constructor
Removed serialization and added JSON
Added EncryptionInterface