Added Core Data components and used it for adding new Location.