First draft, not using real db entities yet.