divide modules, removing unnecessary files