Add lib and extension