add lib and public folders