Updated Main.cpp in order to work with Player

I'm getting some errors when I run it, I'm not quite sure what to do about that