ORM for two tables setup