add libraries with submodule