Move CLI code to a separate module.
Add author url.
Make code more cleary and readable.
Change version to 0.1.1