Data access layer for ios apps that using Core Data framework