A minimalist ORM implementation