add api docs and fixup home page