Add library and sample