The modern smart factory