Puting ledger in its own files