added many-to-many relations to the ORM