public static WebAPIServer Instance()
        {
            if (singleton == null)
                singleton = new WebAPIServer();

            return singleton;
        }
        public MainWindow()
        {
            InitializeComponent();
            source = new DrawingItemsSource();
            ListboxContainer.ItemsSource = source;
            //Console.WriteLine("Hooked up item source; num items: " + source.Count);

            server = WebAPIServer.Instance();
        }