/// <summary>
 /// Private constructer called on start-up, loads the data from the database
 /// </summary>
 private DomainControler()
 {
     dataBaseHelper = new DataBase();
     institute = new Institute("it carlow");
     institute.setBuildingList(dataBaseHelper.loadBuildingList(institute));
     institute.setDeptList(dataBaseHelper.loadDepartmentList(institute));
 }
        static void Main(string[] args)
        {
            DataBase mybd = new DataBase();
            Institute itc = new Institute("it carlow");
            itc.setBuildingList(mybd.loadBuildingList(itc));
            itc.setDeptList(mybd.loadDepartmentList(itc));

            Console.Read();
        }