Threads are only saved if new for the day. Rank model setup

The threads are being saved only if they haven' tbeen saved on that
day. If the thread already exists, then another rank is established
to keep track of the thread ranks. The rank isn't yet saving.