Housing agency gets almost $10 million in federal grants