Added Crypto Engine and tests