Moved repo stuff to seperate route