CREDIT FACILITY AGREEMENT AND PROMISSORY NOTE