better error handling on web interface
changed the api endpoints to follow the spec
renamed js methods and routes to match api names
handle no matches
implemented similar= api param
set similar=1 in web interface