Creating the ObjectBuffers class