refactor(table): split transaction.rs into a module tree (#8056)