separate lib from sample, making both installable packages, addressing