Add the light source options processing

The light source options processing has been added into a separate
module.