blake's attempt at building an ORM