split the program to two parties, one for online dynamic library, \one for offline test and build featurelibrary