fixing baseclass references

Had to add proper baseclass refs and ctors to all first class objects in
library... big checkin, but not a whole lot of functional change.  just
prepping for more work