extract ef operations into simple service