Initial work for webservices completed

Updated to new version of FlexSearch