improve python example client, implement new accounting and balancing methods and make the intermediation_fee optional