dynamic class reloading demo