Added support for sending bigger (split) transactions; code clean-up