‘Prime contractor’ means a contractor who enters into an oral or written agreement with an owner pursuant to which the prime contractor agrees to provide work, materials or equipment for a work of improvement.