Add very simple buffer reader class.