Created objectBuffer class.