Add Picking Function

Optimize the old codes in BlockClass
Add Picking Function