Add comments and move related code so that it is close together.
Add comments and move related code so that it is close together.

materials-commons/mcstore,materials-commons/mcstore,materials-commons/mcstore