use atdgen
implement searches.json
drop duplicate code
separate conversion functions
configure option --enable-dev
unbundle extlib

Base64 renamed to FastBase64 to resolve naming conflict
api to start download
tweak names
proper authentication for api
start and forget searches
handle api errors
pause resumce cancel downloads
+ Prelude
return search results
start download from search result