V1.0.6

Add digging, remove some useless code, optimise the code, create a class
background