Added WPF support and Sample