Added ItemRepository and some additional unit tests.
Extending the previous commit - the actual model and repository classes.