split library from client : only keep library related files