Removed wpf dependency from simulation