Buffer Class

Needs error handling