Revise the name of class and variable

Revise the name of class and variable.
Fix the bug of duplicating insertion number.