testing out old vs new way of buffer creation, something is broken
also created tools.h/m files, going to use these to clean things up