Add MadCursorClass which can help with create cursor from other cursor