Zend certified PHP/Magento developer

Code refactor – EntityManager, ResourceModel and handlers

I have a slider module which use EntityManager.
I want to refactor code to use ResourceModel, but i have problem with many to many relations.
With EntityManager i used EntityManagerOperationExtensionPool with Read/SaveHandlers.
How to implement same functionality with ResourceModel?