restructure frontend folder