added scripts to obtain percentage from available balance and threshold and a script to transfer money from account 0 to account 1