Fixed the load function and removed DEBUG statements
Made a cleaner Makefile