adding aes encryption and openssl wrapper cleanup