refactor(rest) Fs