Initial working of core data - Can save an entity