refactored transaction import through excel