Make cli module more flexible
Add tests for cli module
Merge pull request #101 from markelog/cli

Separate cli logic and add tests for it