Recent developments and applications of modern density functional theory