Support two different settlement modes with transactions; added interactive script for testing/troubleshooting
Added missing files to repo