add buffer loader class