Improve live-search functionality and build accompanying API