documentation and cleaning house of useless classes