Added makefile
Remove references to InBuf
Fix strdup differences
Got makefile working
Removed unused code