create relations and seed data