A simple example of the repository pattern (Funding Circle workshop)