[WIP] account bank statement import: refactoring and various improvements