MASTER SERVICES AGREEMENT FOR SERVICES PROVIDED TO STATE OF MAINE