Added debug logger support to more files, added testing directory (will be committed when I commit next from Windows)