Buffer class now used everywhere.
Package renaming.
BasicGeneratorTest fixed.