init NSManagedObjectContext and prepare CoreData model