Library v2.0 added. Sample modified to support the new library.