migrated shared buffer management into lib_buffer library, removed cruft files, and added project makefile