created Rig class file