The Secretary of Housing and Urban Development (in this section referred to as the Secretary) may make grants to, or (to the extent of amounts provided in appropriation Acts) enter into contracts or cooperative agreements with, State or local governments or their agencies, public or private nonprofit organizations or institutions, or other public or private entities that are formulating or carry