Moving MT_Light code from .h to .cpp