proper use of classloader