A simple implementation of an ORM