General purpose digital twin framework using digital shadow and distributed system concepts