Added debug mode
New makefile