Rudimentary payout module

Added payout system which uses raw transactions and needs to be in sync
so that all outputs are available and balanaces are up-to-date.