adding support to '-c command' (big and dirty commit
Merge branch 'add-optparse'
removed debug mode