. . . "In furtherance of the purposes of this subchapter and subject to the provisions hereof, the Secretary of Housing and Urban Development may make loans or grants, or other payments, to public and nonprofit agencies for the provision, or for the operation and maintenance, of community facilities and equipment therefor, or for the provision of community services, upon such terms and in such amounts as" .