Initial balancedpayments erlang client commit

All tests pass.