clean db and create static folder