Made to work with logger
Fixed some logging issues.
Removed superfluous words cmd.
Merge pull request #10 from cptmashek/master

Yey