add clean --all support closes #266

Imports should be at the top of the file.