Added BufferObject class