Remove submodule and copy lib to root