Update main.cs

Took out the Data to try to push the class into a Data.cs file.