api classes to connect to af services...