allow to display previous versions
better params
fix prev/next getters
use bare repository to store datas