Bug-5 record module

Hi, @john-hu This Patch is for record word feature. Please help me review it. Thank you~
It looks good to move as a standalone function.