Moved the coin amount to the MainCharacter class and made it load from file