[FEATURE] Adding BaseRepository that other repos should extend to allow setting storagePids in the BE.