created character class. Player and npc will inherit from that