[+] started implementing buffer class