Their employer, as he advances to them the stock of materials, tools, and wages, necessary for their employment, so he advances to himself what is necessary for his own maintenance; and this maintenance he generally proportions to the profit which he expects to make by the price of their work.