moved cli code to module
bumped verison number
added debug flag
Merge pull request #5 from okize/add-debug-mode

Add debug mode