added comments, methods to register blocks & items