cleanup unused dependencies and add some docs