Add DataMapper and EntityMapper bases
Add Repo base
Add repo to example.
Update example by wishful spec.
Add ref object