openscihub.org: abstract routes for clients and servers