added substrings
added some accessors needed for the class builder
first version of a class builder
default method tests the class builder