Modified the BatchList and BatchDetail blocks to match conventional block patterns and follow proper naming conventions for all objects and variables.