added documentation. added search and autocomplete apis