Split buffer code into separate file
fix buffer_get_string