Code now stores, retrieves and associates models.