class that accesses tess-two API