changes required for importing wallet.dat

private key takes eckey in constructor now