Added Gallery Repository classes.