Reference frames: definition and mamagement