create packages cookbook
remove unnecessary code