refactor config globalness
remove docs to relink as submodule
readd docs