Parsing of lattice file and storing

The storing is not well done, and can be improved. See testParse.py for
testing out the code.