Reorder imports
Fix divisorgen empty list case
Refactor #21