Improve logging, add cli client.
0.0.2