updated models added api client for json data