added lib and examples