public static void Main(string[] args) { IController c = new Controller(); IModel m = new Model(c); c.SetModel(m); c.AddCommands(); IClientHandler ch = new ClientHandler(c); int port = int.Parse(ConfigurationManager.AppSettings["PORT"]); Server server = new Server(port, ch); server.Start(); }