extracted buffer routines and renamed OutputBufferedPrinter class

added buffer routines trait