Removed tmp - moved functionality to mirror.py
Moved tmp folder control to mirror.py