Add SmartEngine class