add comments and optimized code for TSV datastructure
add comments and optimize code for LSF datastructure
add comments to mood.py, optimize code