first draft lnparse.py
first draft lnparse.py