static void Main(string[] args)
        {
            try
            {
                Console.WriteLine("Welcome to the DB loader application!");
                Console.WriteLine("Enter the path to graph files. Hit enter to use default path: \"..\\..\\..\\input\"\n");
                string path = Console.ReadLine();
                if (string.IsNullOrEmpty(path))
                    path = "..\\..\\..\\input";
                else
                    Console.WriteLine("\n");

                //parse files to graph representation
                var parser = new GraphParser();
                var client = new GraphServiceReference.ServiceClient();
                var graph = parser.parseNodes(path);

                //and load this graph to DB
                Console.WriteLine(client.LoadGraphToDb(graph.ToArray()));
            }
            catch (Exception exc)
            {
                Console.WriteLine(exc.Message);
            }

            Console.WriteLine("Press any key to exit");
            Console.ReadKey();
        }
        public GraphClient()
        {
            InitializeComponent();
            client = new GraphServiceReference.ServiceClient();
            clientGuid = client.GetClientGuid();

            container = new UnityContainer();
            container.RegisterInstance("PathFindButton", ButtonPathFind);
            graphDrawer = new GraphDrawer(container);
        }