New makefile, removed useless debug stuff, configuration file path as argument, general code clean