Fix and test entab
Add makefile and fix warnings