Reformat md -> rst
Added six as requirement
logger refactoring
Fix recursion