move library file to frameworks directory;fix demo