Started implementation of SmartLight engine