mv db and create templates folder