reorganize front_end to seperate folder