add lib and package