Implemented setup CoreData Context on IOS version.