public static void Main(String[] args) { Settings = new SettingsReader(); AbstractWebserver webserver = new UnsecuredWebserver(Settings); AbstractWebserver adminserver = new SecuredWebserver(Settings); Thread tWeb = new Thread(m => webserver.StartListening()); Thread tAdmin = new Thread(m => adminserver.StartListening()); Thread tLogger = new Thread(Logger.getInstance().processLogs); //new Thread(Logger.getInstance().testAddLogs).Start(); tLogger.Start(); tWeb.Start(); tAdmin.Start(); Console.WriteLine("Christiaan & Luke's webserver. Press ^C to quit."); }