Improved makefile and gitignore