What is a "Main" and how do I define it?

did you fix the problem? i get the same error…