// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            if ((Configuration["INITDB"] ?? "false") == "true")
            {
                System.Threading.Thread.Sleep(10000);
                System.Console.WriteLine("Preparing Database ...");
                InitializeDatabase prepareData = new InitializeDatabase(this.Configuration);
                prepareData.Execute();
                System.Console.WriteLine("Database Preparation Complete");
            }

            app.UseMvc();
        }