Change libraries to git submodules

Just keep the project more modularized and clean.