Kennedy Funding has closed on a $2.4 million loan that will pave the way for a new 221-acre residential development in Wyoming’s second-largest city.