add a reusable definition to install samples. and add a couple more of recipes for samples