Readded lighting engine.

Readded lighting engine and fixed comments.