Partly implement header factory
(feat) Implemented checking of master balance
Merge pull request #10 from JackTanRoo/feat/masterBalanceCheck

Implemented total balance check