public void Cleanup()
 {
     ApplicationServices.Clear();
 }