Add fargen-time-tm.py and create basic functionality