add library. modify the folder structure