LighMain class refactored. Added pretty output.