[FEATURE] Added ledger downloader. Added unique indexes