Buffer classes added

close #5