* Some refactors related repository model * Move more methods out of repository * Move repository into models/repo * Fix test * Fix test * some improvements * Remove unnecessary function
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>