Added and implemented Buffer class and modified Drawable class to use this new class.