use class loader to load class dynamically