Added code for dealing with multisig addresses and transaction. In progress, nothing works properly