added verbose mode, log() function and some verbose output
added --simulate mode which activate verbose mode and deactivate any file modification
cleaning file operation a bit