I want to create a C# application (.NET Framework) which offers both command-line and graphical user interface (WPF). To achieve this I put the most of common functionality into