Update Program.cs

Update and Fix bug in class Server. Now its ok.