Smart Green Factory