Building the realtime, digital factory