Rename and refactor code of ServerHiddenData into HiddenData