adding initial stuff of cryptlib
error handling
adding cryptlib