If I give you money and you promise to provide a service, that is a contract. "Contractor" covers a lot of ground outside the building trades.