Refactoring - Major bugs found during compression. Encrypting process has to change. Current state- Exceptions non-working