Repository and tests + initial ui