Decouple LedgerMaster from configuration

Pass necessary arguments into `LedgerMaster` to avoid coupling with the `Config` object.