Added mirror functionality for creating caches. 

- Added --mirror flag to clone.
- Added remote-update for mirrors. 
- Added logging functionality into clone.