ASiMOV: A self-protecting control application for the smart factory