CFY-959 extract handler logic to its own class, which should expose provider specific stuff