Kohn-Sham Density Functional Theory: Application To Metal Clusters And Nanoparticles