(refactor) move front files into app dir