Makefile adjustment
Changed EOF detection for old IO
Added buffer module to isolate IO interface
Changed main module to allow testing buffer