'defaultdict' imported but unused
'os' imported but unused
import sorting

using tool 'isort', https://github.com/timothycrosley/isort
Merge pull request #2 from jquast/import-rework

Import rework