Add a link to the orig post
Some function refactoring
Fix wrong db column name
Rename nga.py to mo.py