Move code to lattice folder
Merge pull request #143 from pass-by-value/extract_lattice

Move code to lattice folder