Added global for debug messages, removed makefile