cut the ComplexLib example back down to nothing
unify typedef names
unify typedef names