Added MainCharacter class declaration