added a capability to get reference info for the L-grid type and added some utils