Created a Buffer Class.