Theory of Nuclear Level Density