Adds relationship tables as entities