create api client & models (not complete)