Added a sample class, and set a default ClassLoader in the SessionFactory when none is provided.