add lib and spec folders