It's would be better that I wouldn't reply, really, I don't want to make people upset, but Moodle is really bad and not structured well
you know, you can do the same with less code that's all I'm saying, making efficient code is the most important when writing platforms