adds library files to repository and moves submodules to libraries folder