restructure react files