Rewrite CLI interface
Bye Q
Hi Bird
Provide API for solution of #194
Fix #208