implement rig management (closes #4)