Minor updates

main procedure added to lsdm.py
Comments and TODOs updated in lsdm.py
comments and licence changes to parse_loop_data.py