contractor class