Connecting Player Class with Main Class