added docs page to gh-pages, various fixes too