allow character constants

allow passing classes as parameters
retain return value
updated readme with various features