external libraries as submodules, major fixes