new docs and tests, the library is completely automated now