Abstracting common store logic, moved CoreData setup to ContextManager