A simple implementation of the repository pattern.