rearrange library file into lib folder