Explicit relation to MainClass

MainClass is a dependency on which CustomLogger listens to events. Storage of the current log level is also more explicit with a variable explicitly stored.
Use proper classpath

Classpaths are no longer inside ariadoc.*
Merge pull request #4 from mathbruyen/patch-1

Explicit relation to MainClass