Restored all the old code, though not tested yet
Restored all the old code, though not tested yet

paulbdavis/ledger,afh/ledger,afh/ledger,duncanmortimer/ledger,afh/ledger,jwakely/ledger,jwakely/ledger,paulbdavis/ledger,jwakely/ledger,ledger/ledger,duncanmortimer/ledger,afh/ledger,duncanmortimer/ledger,paulbdavis/ledger,ledger/ledger,ledger/ledger,paulbdavis/ledger,duncanmortimer/ledger,duncanmortimer/ledger,jwakely/ledger,duncanmortimer/ledger,afh/ledger,paulbdavis/ledger,jwakely/ledger,ledger/ledger,paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,jwakely/ledger,ledger/ledger,paulbdavis/ledger