Updated lights generator

Updated lights generator, template and doc accordingly to the new convention "light_sources" -> "lights"