updated api docs
-other stuff from gh-pages branch