Initial implementation of docs for search, still needs a little cleanup