The Future of Smart Factories and Industry 4.0