Fixed some styling, revamped some Repository methods

Signed-off-by: Julien Bonvarlet <julien.bonvarlet@nrx.eu>