added sample for dynamic library and added a TODO item for dynamic library