Moved Repository classes into their own package.