adding core data stack