Factory created for team model