added media dir to file structure and to watch dir array