Fixin model, adding relations between tables.