moved frontend into public