split out API into test project & switched to OkHttp