My WPF application should receive data from pipe via WCF:
I'm new to MVVM and I can't understand where to put some stuff. It's clear for me what is View but it not clear what is ViewModel and especially what is Model in my case (in case when WCF involved) The questions are:

* what is Model? Do I need special class to represent model? Or Model is WCF server application? What is valid worflow **"WCF Server application ----named pipe-----> ViewModel <--Data binding--> View"** or **"WCF Server application ----named pipe-----> Model<--->ViewModel <--Data binding--> View"**
* how to refactor code below? where to put all this initialization? to ViewModel? to Model class (if I need it), to special "initialization" class?

```
public MainWindow()
{
ChannelFactory<IManagementConsole> pipeFactory =
new ChannelFactory<IManagementConsole>(
    new NetNamedPipeBinding(),
    new EndpointAddress(
        "net.pipe://localhost/PipeMBClientManagementConsole"));

    IManagementConsole pipeProxy =
      pipeFactory.CreateChannel();

    List<ConsoleData> datas = new List<ConsoleData>();
    foreach (StrategyDescriptor sd in pipeProxy.GetStrategies())
    {
        datas.Add(pipeProxy.GetData(sd.Id));
    }
    this.DataContext = datas;
}

```

Can I assume that this is my MVVM Model? :

```
[ServiceContract]
public interface IManagementConsole
{
    [OperationContract]
    ConsoleData GetData(int strategyId);

    [OperationContract]
    List<StrategyDescriptor> GetStrategies();
}

```