add files to lib and spec directories