Redirected shp files to data folder

updated php, main.js