Extracts some logic to the repo model
Adds some cool repo stuff to index page