work in progress - move char operations to character.py and Character class