Flush database
Changing upload directory structure