Industry 4.0: The Era of Smart Factories