Enable flake8 test on travis
Add command help line
small fixes
Fix some encoding issues