moved more stuff to sql
changed ordered_similar people name
refactored
refacotred quite a bit