clean up how applications work and notify all concerned parties