refractor part 1
Refractor and added WPF for SimpleJobMineDownloader