The purpose of the AFDC program, as stated in the Act, is to encourage 'the care of dependent children in their own homes or in the homes of relatives by enabling each State to furnish financial assistance and rehabilitation and other services, as far as practicable under the conditions in such State, to needy dependent children and the parents or relatives with whom they are living to help mainta