Added debug info to class files, and fixed load simulation bug.