Feature lattice2

I have addressed the issues. Can you all take another look.Thanks.
Ok, I will use the DataContainer(data). Thanks!