MongoDB model layer with validation and hooks, similar to Mongoose but thinner.