updated broken docs and move to module