Restructered memory allocation
Small optimizations
Added support to extract public key from private key file