A model/repo layer on top of a datastore (PDO, or NoSQL)