Main Program.cs updated

removed generic code to utitlities.cs