moving secp256k1 to seperate library