defined cookbook and recipe classes