add Resource interface
resource structs now include Client field
list apis returns slice of pointers