Load classes of a different classloader to make event registration of different packages work

Signed-off-by: Ian Macalinao <ianmacalinao@gmail.com>