added threaded calls from web API to functions in other namespaces; also...

... improved respository query formatting