LOAN AGREEMENT and NOTE