Refactor repository (move IXSI logic to processor)