cleanup and document submodules