Added Encryption Class and storing data to file