Add service registration to Program.cs, so that we can use dependency injection. (https://docs.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-usage)