adds submodules to the libraries folder