added basic output of character class and a few functions that go along with it