Make the sendBitcoin function work with several inputs or outputs and start preparing for spending from different pockets.