I suggest that you try to start from scratch with something that works rather than try to modify and struggle with something that does not. There are numerous tutorials and templates available that demonstrate how to set up a working WPF architecture.