checking for type and index in get()
checking for index and type in index() function
setting default host, port, protocol
parsing search results to just return docs
README updates