Main character class and methods added

- few bugs fixed