client-side boilerplate
failed attempt at relational models