added database connectivity to Program.cs