Density functional theory of clusters of nontransition metals using simple models