add library, and modify some files