moved api client to separate project