avatar library and sample project