Custom events for logging and registering

+new jar-lib.