Updated light generator and doc

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