Removed the Program from the existing project, added a wpf project and changed the original project to a library.
Created a console front-end project.