ignore files
change datadir, fix makefile
fix errors.