moving submodules to the lib folder