Update Program.cs

Add functionality to receive and response to request.