$5.9 million in federal funds awarded to Rhode Island commun