added support for class prefixes

If a class prefix is set, then the associated table name is the class name without the prefix