[api] add client skeleton
[api] add logger
[api][test] Add replace tokens util