adding missing libraries, fixing docs