added characterhandler class