Removed unused method to sign documents
Removed old code
Replaced M2Crypto with rsa and PyCrypto